package com.sinocare.project.pharmacy.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.sinocare.project.pharmacy.dao.SccDrugstoreDao;
import com.sinocare.project.common.entity.SccDrugstore;
import com.sinocare.project.pharmacy.db.SccDrugstoreDo;
import com.sinocare.project.pharmacy.service.SccDrugstoreService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
import java.util.Map;

/**
 * 连锁药店表(SccDrugstore)表服务实现类
 *
 * @author makejava
 * @since 2021-12-20 18:55:28
 */
@Service("sccDrugstoreService")
public class SccDrugstoreServiceImpl extends ServiceImpl<SccDrugstoreDao, SccDrugstore> implements SccDrugstoreService {
@Resource
private SccDrugstoreDao sccDrugstoreDao;

    @Override
    public List<SccDrugstoreDo> tests(QueryWrapper<Object> wrapper) {
        return sccDrugstoreDao.tests(wrapper);
    }

    @Override
    public SccDrugstore getByUserId(QueryWrapper<Object> wrapper) {
        return sccDrugstoreDao.getByUserId(wrapper);
    }

}